package com.aizuda.boot.modules.business.contract.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author yangshen
 * @version 1.0
 * @date 2025/5/22
 */
@Data
@Schema(description = "合同文本信息")
public class ContractTextRespDTO {
    @Schema(description = "合同文本URL或存储路径")
    private String fileUrl;

    @Schema(description = "合同文件名")
    private String fileName;

    @Schema(description = "合同文件类型")
    private String fileType;

    @Schema(description = "合同文件大小")
    private Long fileSize;

    @Schema(description = "合同上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime uploadTime;
}
